package com.example.elderlycare.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.elderlycare.dao.entity.Visit;
import com.example.elderlycare.service.entity.VisitListResponseBody;

import java.util.Map;

public interface VisitService extends IService<Visit> {

    /**
     * 根据参数查询来访记录
     *
     * @param params 查询参数
     * @return VisitListResponseBody
     */
    VisitListResponseBody queryVisits(Map<String, Object> params);
}
